namespace Communication
{
    /// <summary>
    /// Provides data for the GsmPhone.MessageReceived events.
    /// </summary>
    public class MessageReceivedEventArgs
    {
        /// <summary>
        /// Initializes a new instance of the class.
        /// </summary>
        /// <param name="obj">The object that indicates a new received message.</param>
        public MessageReceivedEventArgs(IMessageIndicationObject obj)
        {
            IndicationObject = obj;
        }

        /// <summary>
        /// The object that indicates a new received message.
        /// </summary>
        public IMessageIndicationObject IndicationObject { get; private set; }
    }
}